package tw.com.book.componet;

public enum Msg {
	// =============================//
	W001("W001", "請輸入"), //
	W002("W002", "信箱已使用過"),
	E001("E001", "未知錯誤"),

	E002("E002", "登入失敗"),
	E003("E003", "新增資料有誤");
	
	// =============================//
	final String code;
	final String message;

	Msg(String code, String message) {
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public String getMessage() {
		return message;
	}

}
